\documentclass[10pt,spanish]{report}
\usepackage[spanish,activeacute]{babel}
\usepackage{graphicx}
\usepackage{indentfirst}
% \usepackage{amsmath}
% \usepackage{amsfonts}
% \usepackage{amssymb}
\oddsidemargin 0in
\textwidth 7in
\topmargin -1in
\textheight 10.5in
\parindent 0em
\parskip 2ex
\title{{\Huge \bf #titulo}}
\author{#autor}
\date{#fecha}

\begin{document}
\maketitle
\tableofcontents

